import { Button, Select, Form, FormItem, Input, MenuItem, Menu, Submenu, Table, TableColumn, Pagination, Message, Dialog, Dropdown ,DropdownMenu,DropdownItem,Col,DatePicker,TimePicker,Row,Option} from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Vue from 'vue';

export default {
  install(Vue) {
    [Button, Select, Form, FormItem, Input, MenuItem, Menu, Submenu, Table, TableColumn, Pagination, Dialog, Dropdown,DropdownMenu,DropdownItem,Col,DatePicker,TimePicker,Row,Option].forEach(item => Vue.use(item))
  }
}
Vue.prototype.$message = Message